package com.huli.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单详情VO类
 */
@Data
public class OrderDetailVO {
    private Integer pageNum = 1;
    private Integer pageSize = 10;

    private Date startTime;    // 开始时间
    private Date endTime;

    // 各表记录数
    private Integer orderCount;
    private Integer orgCount;
    private Integer userCount;
    private Integer patientCount;
    private Integer projectCount;
    private Integer financeCount;

    // 服务机构
    private String orgName;

    // 订单编号
    private String orderNo;

    // 接单人
    private String nurseName;

    // 患者姓名
    private String patientName;

    // 身份证号
    private String idNumber;

    // 服务项目
    private String projectName;

    // 支付金额
    private BigDecimal orderAmount;

    // 支付方式
    private String paymentType;

    // 支付时间
    private Date paymentTime;

    // 订单状态
    private String orderStatus;

    // 患者性别
    private String sex;

    // 患者年龄
    private Integer age;

    // 联系电话
    private String phone;

    // 预约上门时间
    private Date appointmentTime;

    // 总收费
    private BigDecimal totalAmount;

    // 上门地址
    private String address;

    // 备注
    private String remark;

    // 订单状态名称
    private String orderStatusName;

    // 派单人
    private String dispatcherName;

    // 派单时间
    private Date dispatchTime;

    // 无参构造函数
    public OrderDetailVO() {
    }

    public Integer getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(Integer orderCount) {
        this.orderCount = orderCount;
    }

    public Integer getOrgCount() {
        return orgCount;
    }

    public void setOrgCount(Integer orgCount) {
        this.orgCount = orgCount;
    }

    public Integer getUserCount() {
        return userCount;
    }

    public void setUserCount(Integer userCount) {
        this.userCount = userCount;
    }

    public Integer getPatientCount() {
        return patientCount;
    }

    public void setPatientCount(Integer patientCount) {
        this.patientCount = patientCount;
    }

    public Integer getProjectCount() {
        return projectCount;
    }

    public void setProjectCount(Integer projectCount) {
        this.projectCount = projectCount;
    }

    public Integer getFinanceCount() {
        return financeCount;
    }

    public void setFinanceCount(Integer financeCount) {
        this.financeCount = financeCount;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getNurseName() {
        return nurseName;
    }

    public void setNurseName(String nurseName) {
        this.nurseName = nurseName;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getAppointmentTime() {
        return appointmentTime;
    }

    public void setAppointmentTime(Date appointmentTime) {
        this.appointmentTime = appointmentTime;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrderStatusName() {
        return orderStatusName;
    }

    public void setOrderStatusName(String orderStatusName) {
        this.orderStatusName = orderStatusName;
    }

    public String getDispatcherName() {
        return dispatcherName;
    }

    public void setDispatcherName(String dispatcherName) {
        this.dispatcherName = dispatcherName;
    }

    public Date getDispatchTime() {
        return dispatchTime;
    }

    public void setDispatchTime(Date dispatchTime) {
        this.dispatchTime = dispatchTime;
    }

    @Override
    public String toString() {
        return "OrderDetailVO{" +
                "orderCount=" + orderCount +
                ", orgCount=" + orgCount +
                ", userCount=" + userCount +
                ", patientCount=" + patientCount +
                ", projectCount=" + projectCount +
                ", financeCount=" + financeCount +
                ", orgName='" + orgName + '\'' +
                ", orderNo='" + orderNo + '\'' +
                ", nurseName='" + nurseName + '\'' +
                ", patientName='" + patientName + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", projectName='" + projectName + '\'' +
                ", orderAmount=" + orderAmount +
                ", paymentType='" + paymentType + '\'' +
                ", paymentTime=" + paymentTime +
                ", orderStatus='" + orderStatus + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", phone='" + phone + '\'' +
                ", appointmentTime=" + appointmentTime +
                ", totalAmount=" + totalAmount +
                ", address='" + address + '\'' +
                ", remark='" + remark + '\'' +
                ", orderStatusName='" + orderStatusName + '\'' +
                ", dispatcherName='" + dispatcherName + '\'' +
                ", dispatchTime=" + dispatchTime +
                '}';
    }
}